<?php


namespace app\api\validate;


use think\Validate;

class Cart extends Validate
{
    protected $rule = [
        'id' => 'require|integer',
        'num' => 'integer'
    ];
}